GPX: Fix a problem made more obvious by GZIP reader involving reads slightly lar
authorrobertl <robertl>
Mon, 27 Nov 2006 20:22:50 +0000 (20:22 +0000)
committerrobertl <robertl>
Mon, 27 Nov 2006 20:22:50 +0000 (20:22 +0000)
ger than our block size.
Util: eliminate use of va_copy.

defs.h

diff --git a/defs.h b/defs.h
index ce53d5f21cb443dbc22934c66e5782c52f64bf0a..7aa67e7dee224c08f8d9c3790b2c0f76c148618e 100644 (file)
--- a/defs.h
+++ b/defs.h
 #  define _CRT_SECURE_NO_DEPRECATE 1
 #endif
 
-/* va_copy workaround */
-
-#ifndef va_copy
-#  ifdef __va_copy
-#    define va_copy __va_copy
-#  else
-#    error Function 'va_copy' or '__va_copy' is not defined in your environment!
-#    error Please mail some information about your system 
-#    error (platform,compiler,...) to gpsbabel-code@lists.sourceforge.net
-#  endif
-#endif
-
 /* Pathname separator character */
 #if __WIN32__
 #  define GB_PATHSEP '\\'